package com.yq.design.factory.abs;

/**
 * @ClassName AppleFactory
 * @Description Apple工厂集成工厂中的方法，每个方法对应自己的产品
 * @Author yaoqiang
 * @Date 2021/3/9 13:26
 * @Version 1.0
 */
public class AppleFactory implements  Factory {
    @Override
    public PC makePc() {
        return new ApplePc();
    }

    @Override
    public Phone makePhone() {
        return new ApplePhone();
    }
}
